<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>原始HTML</title>
</head>

<body>
    <div id="app">
        <p>Using mustaches: {{ rawHtml }}</p>
        <p>Using v-html directive: <span v-html="rawHtml"></span></p>
    </div>

    <script type="module">
        import Vue from '../vue.esm.browser.js'

        const app = new Vue({
            el: '#app',
            data: {
                rawHtml: '<span style="color: red">This should be red.</span>'
            }
        })
    </script>
</body>

</html>